package org.jeecg.modules.charge.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 票据核销记录
 * @Author: jeecg-boot
 * @Date:   2019-10-17
 * @Version: V1.0
 */
@Data
@TableName("charge_cancellaction")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="charge_cancellaction对象", description="票据核销记录")
public class Cancellaction {
    
	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
	private String id;
	/**houseIds*/
	@Excel(name = "houseIds", width = 15)
    @ApiModelProperty(value = "houseIds")
	private Object houseIds;
	/**groupid*/
	@Excel(name = "groupid", width = 15)
    @ApiModelProperty(value = "groupid")
	private String groupNum;
	/**everyNums*/
	@Excel(name = "everyNums", width = 15)
    @ApiModelProperty(value = "everyNums")
	private Integer everyNums;
	/**openInvoice*/
	@Excel(name = "openInvoice", width = 15)
    @ApiModelProperty(value = "openInvoice")
	private Integer openInvoice;
	/**romeInvoice*/
	@Excel(name = "romeInvoice", width = 15)
    @ApiModelProperty(value = "romeInvoice")
	private Integer romeInvoice;
	/**unuserd*/
	@Excel(name = "unuserd", width = 15)
    @ApiModelProperty(value = "unuserd")
	private Integer unuserd;
	/**sumMoney*/
	@Excel(name = "sumMoney", width = 15)
    @ApiModelProperty(value = "sumMoney")
	private Double sumMoney;
	/**核销人*/
	@Excel(name = "核销人", width = 15)
    @ApiModelProperty(value = "核销人")
	private String canName;
	/**canDate*/
	@Excel(name = "canDate", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "canDate")
	private Date canDate;
	/**备用字段(对应BZ字段)*/
	@Excel(name = "备用字段(对应BZ字段)", width = 15)
    @ApiModelProperty(value = "备用字段(对应BZ字段)")
	private String ext1;
	/**createBy*/
	@Excel(name = "createBy", width = 15)
    @ApiModelProperty(value = "createBy")
	private String createBy;
	/**createTime*/
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
	private Date createTime;
	/**updateBy*/
	@Excel(name = "updateBy", width = 15)
    @ApiModelProperty(value = "updateBy")
	private String updateBy;
	/**updateTime*/
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
	private Date updateTime;
	/**delFlag*/
	@Excel(name = "delFlag", width = 15)
    @ApiModelProperty(value = "delFlag")
	@TableLogic
	private String delFlag;
	/**remarks*/
	@Excel(name = "remarks", width = 15)
    @ApiModelProperty(value = "remarks")
	private String remarks;
	/**tenantId*/
	@Excel(name = "tenantId", width = 15)
    @ApiModelProperty(value = "tenantId")
	private String tenantId;

	@TableField(exist = false)
	private List<String> houseIdsList;

	@TableField(exist = false)
	private String [] groupNos;
}
